package com.ming_za.od_updater_sdk.server_api.result_obj.data;

/**
 * 资源数据
 */
public class ResData {

    /**
     * 资源id
     */
    private final long resId;

    /**
     * 资源客户端地址
     */
    private final String path;

    /**
     * 是否为"删除类型"资源
     */
    private final boolean delete;

    /**
     * 标签
     */
    private final long label;

    public ResData(long resId, String path, boolean delete, long label) {
        this.resId = resId;
        this.path = path;
        this.delete = delete;
        this.label = label;
    }

    public long getResId() {
        return resId;
    }

    public String getPath() {
        return path;
    }

    public boolean isDelete() {
        return delete;
    }

    public long getLabel() {
        return label;
    }
}
